package org.fuys.coder.domain.auth.repository;

import java.util.concurrent.TimeUnit;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.auth.repository
 * @className: ITokenRepository
 * @author: WangJing
 * @description: token仓储
 * @date: 2024/9/6 16:28
 * @version: 1.0
 */
public interface ITokenRepository {

    public void setToken(String key,String value);

    public void setToken(String key, String value, long time, TimeUnit timeUnit);

    public Object getToken(String key);

    public void deleteToken(String key);
}
